Skip to content

Update HOWTO.md - #503

Open
AllMightLegend wants to merge 1 commit into
matrix-org:developfrom
AllMightLegend:patch-1
Open

Update HOWTO.md#503
AllMightLegend wants to merge 1 commit into
matrix-org:developfrom
AllMightLegend:patch-1

Conversation

@AllMightLegend

Copy link
Copy Markdown

#433 Issue
Replaced "node:querystring" with URLSearchParams API

matrix-org#433 Issue
Replaced "node:querystring" with URLSearchParams API
@AllMightLegend
AllMightLegend requested a review from a team as a code owner August 9, 2024 23:14

@tadzik tadzik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not look correct. You're passing the http module as a query string to parse, and then using a boolean method to parse.

This should look more like const params= new URLSearchParams(body), and then params.get('user_name') etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants